.simple-table {
  &.enable-header-column {
    tr [data-block-type="simple_table_cell"]:first-child {
      @apply font-semibold;
    }
  }

  &.enable-header-row {
    tr:first-child > [data-block-type="simple_table_cell"] {
      @apply font-semibold;
    }
  }

  tr {
    vertical-align: top;
  }

  tr [data-block-type="simple_table_cell"]:first-child {
    @apply border-l border-t border-line-divider;
  }

  tr:first-child > [data-block-type="simple_table_cell"] {
    @apply border-t border-line-divider;
  }

  td[data-block-type="simple_table_cell"] {
    @apply border-r border-b border-line-divider;
    .cell-children {
      .block-element {
        @apply m-0;
      }
    }
  }

  tr[data-table-row-horizontal-align="center"] {
    .block-element {
      > div > .text-element {
        text-align: center;
        justify-content: center;
      }
    }
  }

  tr[data-table-row-horizontal-align="right"] {
    .block-element {
      > div > .text-element {
        text-align: right;
        justify-content: flex-end;
      }
    }
  }


  td[data-table-cell-horizontal-align="center"] {
    .block-element {
      > div > .text-element {
        text-align: center;
        justify-content: center;
      }
    }
  }

  td[data-table-cell-horizontal-align="right"] {
    .block-element {
      > div > .text-element {
        text-align: right;
        justify-content: flex-end;
      }
    }
  }

  td .cell-children {
    @apply min-w-[120px] leading-[1.8em];
  }

  td {
    @apply p-2;
  }
}